﻿@{
    Layout = null;
}
@using MvcContrib.UI.Grid;
@using MvcMall.AdminPortal.Controllers.AdminModul.ViewModels;
@model List<AdminModulDtoModel>
<!DOCTYPE html>
<html>
<head>
    <title>功能模块管理</title>
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui.min.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#tabs").tabs({
                cache: false,
                ajaxOptions: {
                    error: function (xhr, status, index, anchor) {
                        $(anchor.hash).html("系统繁忙,请稍候再试");
                    }
                }
            });
        });
    </script>
</head>
<body>
    <div id="tabs">
        <ul>
            <li><a href="#modullist">功能模块列表</a> </li>
        </ul>
        <div id="modullist">
            @Html.Grid(Model).Columns(c =>
               {
                   c.For(m => m.Id).Named("模块编号");
                   c.For(m => m.ModulName).Named("模块名称");
                   c.For(m => m.SortOrder).Named("排序编号");
               }).Empty("对不起,没有查询到任务数据").Attributes(width => "100%")
        </div>
    </div>
</body>
</html>
